<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<s:if test="controller.rtspPort==''||controller.url==''"><div style=" line-height: 184px;"><br><br>
</div></s:if><s:else>
<div style="margin: 10px;" align="center">
	<object id="IPPlayer"
		classid="clsid:652603EA-DC33-4e1f-B012-B61C59D20924"
		codebase="http://dis.ntic.com.tw/download/IPAX.cab" width="320"
		height="240">

		<embed src="rtsp://<s:property value="%{controller.url}" />:<s:property value="%{controller.rtspPort}" />/3g"
			type="audio/x-pn-realaudio-plugin" autostart="true" width="320"
			height="240" controls="ImageWindow"></embed>
	</object>
</div>
<div class="row-fluid">
<div class="caption span6">

	<h3>
		<s:property value="controller.name" />
	</h3>
	<p>
		<s:property value="controller.videoUrl" />
	</p>
</div>
<div class="span6">
	<s:if test="controller.operateMethod==2">
		<s:include value="/WEB-INF/content/settings/controller/control-buttons.jsp"></s:include>
	</s:if>
</div>
</div></s:else>